package cloud.maque.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 4color
 * @description 权限组
 * @date 2023-03-17
 */
@Data
public class MqPrivilegeGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    /**
     * id
     */
    private String privilegeGroupId;

    /**
     * 名称
     */
    private String groupName;

    /**
     * disabled
     */
    private Integer disabled;

    /**
     * group_order
     */
    private Integer groupOrder;

    /**
     * description
     */
    private String description;

    /**
     * created_at
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    /**
     * parent_group_id
     */
    private String parentGroupId;

    /**
     * tenant_id
     */
    private String tenantId;

    public MqPrivilegeGroup() {
    }
}
